main = """\
#! /usr/bin/env python
import sys
import os
lib_dir = os.path.join(os.getcwd(), '$lib_dir')
sys.path.insert(0, lib_dir)

from simpleweb import run
run('fcgi')
"""

simpleweb_admin = """\
import sys
import os
lib_dir = os.path.join(os.getcwd(), '$lib_dir')
sys.path.insert(0, lib_dir)

from simpleweb.admin.console import main

if __name__ == '__main__':
    main()
"""

